<?php
header("Content-type:text/html;charset=utf-8");
include_once 'commondb.php';
$act = $_GET["act"];
switch ($act){
    case 'text':
    		$boke = $_GET["boke"];
		$title = $_GET["title"];
        $sql = "insert into message_putao(title,boke) values('{$title}','{$boke}')";
		mysql_query($sql);
		echo 1;
break;
 
}
?>